package com.itsm.example.incident.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("incident")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Incident {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(value = "inst_id")
    private String instId;
    @TableField(value = "inc_no")
    private String incNo;
    @TableField(value = "inc_topic")
    private String incTopic;
    @TableField(value = "inc_content")
    private String incContent;
    @TableField(value = "incident_state")
    private Integer incidentState;
    @TableField(value = "incident_type")
    private Integer incidentType;
    @TableField(value = "incident_level")
    private Integer incidentLevel;
    @TableField(value = "flow_manage_user_name")
    private String flowManageUserName;

}
